package com.tjmc.tiomscore.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TiTnlExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TiTnlExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNativenameIsNull() {
            addCriterion("nativename is null");
            return (Criteria) this;
        }

        public Criteria andNativenameIsNotNull() {
            addCriterion("nativename is not null");
            return (Criteria) this;
        }

        public Criteria andNativenameEqualTo(String value) {
            addCriterion("nativename =", value, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameNotEqualTo(String value) {
            addCriterion("nativename <>", value, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameGreaterThan(String value) {
            addCriterion("nativename >", value, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameGreaterThanOrEqualTo(String value) {
            addCriterion("nativename >=", value, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameLessThan(String value) {
            addCriterion("nativename <", value, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameLessThanOrEqualTo(String value) {
            addCriterion("nativename <=", value, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameLike(String value) {
            addCriterion("nativename like", value, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameNotLike(String value) {
            addCriterion("nativename not like", value, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameIn(List<String> values) {
            addCriterion("nativename in", values, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameNotIn(List<String> values) {
            addCriterion("nativename not in", values, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameBetween(String value1, String value2) {
            addCriterion("nativename between", value1, value2, "nativename");
            return (Criteria) this;
        }

        public Criteria andNativenameNotBetween(String value1, String value2) {
            addCriterion("nativename not between", value1, value2, "nativename");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNull() {
            addCriterion("direction is null");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNotNull() {
            addCriterion("direction is not null");
            return (Criteria) this;
        }

        public Criteria andDirectionEqualTo(String value) {
            addCriterion("direction =", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotEqualTo(String value) {
            addCriterion("direction <>", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionGreaterThan(String value) {
            addCriterion("direction >", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionGreaterThanOrEqualTo(String value) {
            addCriterion("direction >=", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLessThan(String value) {
            addCriterion("direction <", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLessThanOrEqualTo(String value) {
            addCriterion("direction <=", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLike(String value) {
            addCriterion("direction like", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotLike(String value) {
            addCriterion("direction not like", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionIn(List<String> values) {
            addCriterion("direction in", values, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotIn(List<String> values) {
            addCriterion("direction not in", values, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionBetween(String value1, String value2) {
            addCriterion("direction between", value1, value2, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotBetween(String value1, String value2) {
            addCriterion("direction not between", value1, value2, "direction");
            return (Criteria) this;
        }

        public Criteria andActivestateIsNull() {
            addCriterion("activestate is null");
            return (Criteria) this;
        }

        public Criteria andActivestateIsNotNull() {
            addCriterion("activestate is not null");
            return (Criteria) this;
        }

        public Criteria andActivestateEqualTo(String value) {
            addCriterion("activestate =", value, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateNotEqualTo(String value) {
            addCriterion("activestate <>", value, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateGreaterThan(String value) {
            addCriterion("activestate >", value, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateGreaterThanOrEqualTo(String value) {
            addCriterion("activestate >=", value, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateLessThan(String value) {
            addCriterion("activestate <", value, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateLessThanOrEqualTo(String value) {
            addCriterion("activestate <=", value, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateLike(String value) {
            addCriterion("activestate like", value, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateNotLike(String value) {
            addCriterion("activestate not like", value, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateIn(List<String> values) {
            addCriterion("activestate in", values, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateNotIn(List<String> values) {
            addCriterion("activestate not in", values, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateBetween(String value1, String value2) {
            addCriterion("activestate between", value1, value2, "activestate");
            return (Criteria) this;
        }

        public Criteria andActivestateNotBetween(String value1, String value2) {
            addCriterion("activestate not between", value1, value2, "activestate");
            return (Criteria) this;
        }

        public Criteria andAnelIdIsNull() {
            addCriterion("anel_id is null");
            return (Criteria) this;
        }

        public Criteria andAnelIdIsNotNull() {
            addCriterion("anel_id is not null");
            return (Criteria) this;
        }

        public Criteria andAnelIdEqualTo(Long value) {
            addCriterion("anel_id =", value, "anelId");
            return (Criteria) this;
        }

        public Criteria andAnelIdNotEqualTo(Long value) {
            addCriterion("anel_id <>", value, "anelId");
            return (Criteria) this;
        }

        public Criteria andAnelIdGreaterThan(Long value) {
            addCriterion("anel_id >", value, "anelId");
            return (Criteria) this;
        }

        public Criteria andAnelIdGreaterThanOrEqualTo(Long value) {
            addCriterion("anel_id >=", value, "anelId");
            return (Criteria) this;
        }

        public Criteria andAnelIdLessThan(Long value) {
            addCriterion("anel_id <", value, "anelId");
            return (Criteria) this;
        }

        public Criteria andAnelIdLessThanOrEqualTo(Long value) {
            addCriterion("anel_id <=", value, "anelId");
            return (Criteria) this;
        }

        public Criteria andAnelIdIn(List<Long> values) {
            addCriterion("anel_id in", values, "anelId");
            return (Criteria) this;
        }

        public Criteria andAnelIdNotIn(List<Long> values) {
            addCriterion("anel_id not in", values, "anelId");
            return (Criteria) this;
        }

        public Criteria andAnelIdBetween(Long value1, Long value2) {
            addCriterion("anel_id between", value1, value2, "anelId");
            return (Criteria) this;
        }

        public Criteria andAnelIdNotBetween(Long value1, Long value2) {
            addCriterion("anel_id not between", value1, value2, "anelId");
            return (Criteria) this;
        }

        public Criteria andAportIdIsNull() {
            addCriterion("aport_id is null");
            return (Criteria) this;
        }

        public Criteria andAportIdIsNotNull() {
            addCriterion("aport_id is not null");
            return (Criteria) this;
        }

        public Criteria andAportIdEqualTo(Long value) {
            addCriterion("aport_id =", value, "aportId");
            return (Criteria) this;
        }

        public Criteria andAportIdNotEqualTo(Long value) {
            addCriterion("aport_id <>", value, "aportId");
            return (Criteria) this;
        }

        public Criteria andAportIdGreaterThan(Long value) {
            addCriterion("aport_id >", value, "aportId");
            return (Criteria) this;
        }

        public Criteria andAportIdGreaterThanOrEqualTo(Long value) {
            addCriterion("aport_id >=", value, "aportId");
            return (Criteria) this;
        }

        public Criteria andAportIdLessThan(Long value) {
            addCriterion("aport_id <", value, "aportId");
            return (Criteria) this;
        }

        public Criteria andAportIdLessThanOrEqualTo(Long value) {
            addCriterion("aport_id <=", value, "aportId");
            return (Criteria) this;
        }

        public Criteria andAportIdIn(List<Long> values) {
            addCriterion("aport_id in", values, "aportId");
            return (Criteria) this;
        }

        public Criteria andAportIdNotIn(List<Long> values) {
            addCriterion("aport_id not in", values, "aportId");
            return (Criteria) this;
        }

        public Criteria andAportIdBetween(Long value1, Long value2) {
            addCriterion("aport_id between", value1, value2, "aportId");
            return (Criteria) this;
        }

        public Criteria andAportIdNotBetween(Long value1, Long value2) {
            addCriterion("aport_id not between", value1, value2, "aportId");
            return (Criteria) this;
        }

        public Criteria andZnelIdIsNull() {
            addCriterion("znel_id is null");
            return (Criteria) this;
        }

        public Criteria andZnelIdIsNotNull() {
            addCriterion("znel_id is not null");
            return (Criteria) this;
        }

        public Criteria andZnelIdEqualTo(Long value) {
            addCriterion("znel_id =", value, "znelId");
            return (Criteria) this;
        }

        public Criteria andZnelIdNotEqualTo(Long value) {
            addCriterion("znel_id <>", value, "znelId");
            return (Criteria) this;
        }

        public Criteria andZnelIdGreaterThan(Long value) {
            addCriterion("znel_id >", value, "znelId");
            return (Criteria) this;
        }

        public Criteria andZnelIdGreaterThanOrEqualTo(Long value) {
            addCriterion("znel_id >=", value, "znelId");
            return (Criteria) this;
        }

        public Criteria andZnelIdLessThan(Long value) {
            addCriterion("znel_id <", value, "znelId");
            return (Criteria) this;
        }

        public Criteria andZnelIdLessThanOrEqualTo(Long value) {
            addCriterion("znel_id <=", value, "znelId");
            return (Criteria) this;
        }

        public Criteria andZnelIdIn(List<Long> values) {
            addCriterion("znel_id in", values, "znelId");
            return (Criteria) this;
        }

        public Criteria andZnelIdNotIn(List<Long> values) {
            addCriterion("znel_id not in", values, "znelId");
            return (Criteria) this;
        }

        public Criteria andZnelIdBetween(Long value1, Long value2) {
            addCriterion("znel_id between", value1, value2, "znelId");
            return (Criteria) this;
        }

        public Criteria andZnelIdNotBetween(Long value1, Long value2) {
            addCriterion("znel_id not between", value1, value2, "znelId");
            return (Criteria) this;
        }

        public Criteria andZportIdIsNull() {
            addCriterion("zport_id is null");
            return (Criteria) this;
        }

        public Criteria andZportIdIsNotNull() {
            addCriterion("zport_id is not null");
            return (Criteria) this;
        }

        public Criteria andZportIdEqualTo(Long value) {
            addCriterion("zport_id =", value, "zportId");
            return (Criteria) this;
        }

        public Criteria andZportIdNotEqualTo(Long value) {
            addCriterion("zport_id <>", value, "zportId");
            return (Criteria) this;
        }

        public Criteria andZportIdGreaterThan(Long value) {
            addCriterion("zport_id >", value, "zportId");
            return (Criteria) this;
        }

        public Criteria andZportIdGreaterThanOrEqualTo(Long value) {
            addCriterion("zport_id >=", value, "zportId");
            return (Criteria) this;
        }

        public Criteria andZportIdLessThan(Long value) {
            addCriterion("zport_id <", value, "zportId");
            return (Criteria) this;
        }

        public Criteria andZportIdLessThanOrEqualTo(Long value) {
            addCriterion("zport_id <=", value, "zportId");
            return (Criteria) this;
        }

        public Criteria andZportIdIn(List<Long> values) {
            addCriterion("zport_id in", values, "zportId");
            return (Criteria) this;
        }

        public Criteria andZportIdNotIn(List<Long> values) {
            addCriterion("zport_id not in", values, "zportId");
            return (Criteria) this;
        }

        public Criteria andZportIdBetween(Long value1, Long value2) {
            addCriterion("zport_id between", value1, value2, "zportId");
            return (Criteria) this;
        }

        public Criteria andZportIdNotBetween(Long value1, Long value2) {
            addCriterion("zport_id not between", value1, value2, "zportId");
            return (Criteria) this;
        }

        public Criteria andCirIsNull() {
            addCriterion("cir is null");
            return (Criteria) this;
        }

        public Criteria andCirIsNotNull() {
            addCriterion("cir is not null");
            return (Criteria) this;
        }

        public Criteria andCirEqualTo(String value) {
            addCriterion("cir =", value, "cir");
            return (Criteria) this;
        }

        public Criteria andCirNotEqualTo(String value) {
            addCriterion("cir <>", value, "cir");
            return (Criteria) this;
        }

        public Criteria andCirGreaterThan(String value) {
            addCriterion("cir >", value, "cir");
            return (Criteria) this;
        }

        public Criteria andCirGreaterThanOrEqualTo(String value) {
            addCriterion("cir >=", value, "cir");
            return (Criteria) this;
        }

        public Criteria andCirLessThan(String value) {
            addCriterion("cir <", value, "cir");
            return (Criteria) this;
        }

        public Criteria andCirLessThanOrEqualTo(String value) {
            addCriterion("cir <=", value, "cir");
            return (Criteria) this;
        }

        public Criteria andCirLike(String value) {
            addCriterion("cir like", value, "cir");
            return (Criteria) this;
        }

        public Criteria andCirNotLike(String value) {
            addCriterion("cir not like", value, "cir");
            return (Criteria) this;
        }

        public Criteria andCirIn(List<String> values) {
            addCriterion("cir in", values, "cir");
            return (Criteria) this;
        }

        public Criteria andCirNotIn(List<String> values) {
            addCriterion("cir not in", values, "cir");
            return (Criteria) this;
        }

        public Criteria andCirBetween(String value1, String value2) {
            addCriterion("cir between", value1, value2, "cir");
            return (Criteria) this;
        }

        public Criteria andCirNotBetween(String value1, String value2) {
            addCriterion("cir not between", value1, value2, "cir");
            return (Criteria) this;
        }

        public Criteria andPirIsNull() {
            addCriterion("pir is null");
            return (Criteria) this;
        }

        public Criteria andPirIsNotNull() {
            addCriterion("pir is not null");
            return (Criteria) this;
        }

        public Criteria andPirEqualTo(String value) {
            addCriterion("pir =", value, "pir");
            return (Criteria) this;
        }

        public Criteria andPirNotEqualTo(String value) {
            addCriterion("pir <>", value, "pir");
            return (Criteria) this;
        }

        public Criteria andPirGreaterThan(String value) {
            addCriterion("pir >", value, "pir");
            return (Criteria) this;
        }

        public Criteria andPirGreaterThanOrEqualTo(String value) {
            addCriterion("pir >=", value, "pir");
            return (Criteria) this;
        }

        public Criteria andPirLessThan(String value) {
            addCriterion("pir <", value, "pir");
            return (Criteria) this;
        }

        public Criteria andPirLessThanOrEqualTo(String value) {
            addCriterion("pir <=", value, "pir");
            return (Criteria) this;
        }

        public Criteria andPirLike(String value) {
            addCriterion("pir like", value, "pir");
            return (Criteria) this;
        }

        public Criteria andPirNotLike(String value) {
            addCriterion("pir not like", value, "pir");
            return (Criteria) this;
        }

        public Criteria andPirIn(List<String> values) {
            addCriterion("pir in", values, "pir");
            return (Criteria) this;
        }

        public Criteria andPirNotIn(List<String> values) {
            addCriterion("pir not in", values, "pir");
            return (Criteria) this;
        }

        public Criteria andPirBetween(String value1, String value2) {
            addCriterion("pir between", value1, value2, "pir");
            return (Criteria) this;
        }

        public Criteria andPirNotBetween(String value1, String value2) {
            addCriterion("pir not between", value1, value2, "pir");
            return (Criteria) this;
        }

        public Criteria andIsoverlayIsNull() {
            addCriterion("isoverlay is null");
            return (Criteria) this;
        }

        public Criteria andIsoverlayIsNotNull() {
            addCriterion("isoverlay is not null");
            return (Criteria) this;
        }

        public Criteria andIsoverlayEqualTo(String value) {
            addCriterion("isoverlay =", value, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayNotEqualTo(String value) {
            addCriterion("isoverlay <>", value, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayGreaterThan(String value) {
            addCriterion("isoverlay >", value, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayGreaterThanOrEqualTo(String value) {
            addCriterion("isoverlay >=", value, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayLessThan(String value) {
            addCriterion("isoverlay <", value, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayLessThanOrEqualTo(String value) {
            addCriterion("isoverlay <=", value, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayLike(String value) {
            addCriterion("isoverlay like", value, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayNotLike(String value) {
            addCriterion("isoverlay not like", value, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayIn(List<String> values) {
            addCriterion("isoverlay in", values, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayNotIn(List<String> values) {
            addCriterion("isoverlay not in", values, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayBetween(String value1, String value2) {
            addCriterion("isoverlay between", value1, value2, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andIsoverlayNotBetween(String value1, String value2) {
            addCriterion("isoverlay not between", value1, value2, "isoverlay");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidIsNull() {
            addCriterion("tunnelrmuid is null");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidIsNotNull() {
            addCriterion("tunnelrmuid is not null");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidEqualTo(String value) {
            addCriterion("tunnelrmuid =", value, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidNotEqualTo(String value) {
            addCriterion("tunnelrmuid <>", value, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidGreaterThan(String value) {
            addCriterion("tunnelrmuid >", value, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidGreaterThanOrEqualTo(String value) {
            addCriterion("tunnelrmuid >=", value, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidLessThan(String value) {
            addCriterion("tunnelrmuid <", value, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidLessThanOrEqualTo(String value) {
            addCriterion("tunnelrmuid <=", value, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidLike(String value) {
            addCriterion("tunnelrmuid like", value, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidNotLike(String value) {
            addCriterion("tunnelrmuid not like", value, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidIn(List<String> values) {
            addCriterion("tunnelrmuid in", values, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidNotIn(List<String> values) {
            addCriterion("tunnelrmuid not in", values, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidBetween(String value1, String value2) {
            addCriterion("tunnelrmuid between", value1, value2, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTunnelrmuidNotBetween(String value1, String value2) {
            addCriterion("tunnelrmuid not between", value1, value2, "tunnelrmuid");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdIsNull() {
            addCriterion("tran_ptn_tnl_id is null");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdIsNotNull() {
            addCriterion("tran_ptn_tnl_id is not null");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdEqualTo(Long value) {
            addCriterion("tran_ptn_tnl_id =", value, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdNotEqualTo(Long value) {
            addCriterion("tran_ptn_tnl_id <>", value, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdGreaterThan(Long value) {
            addCriterion("tran_ptn_tnl_id >", value, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdGreaterThanOrEqualTo(Long value) {
            addCriterion("tran_ptn_tnl_id >=", value, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdLessThan(Long value) {
            addCriterion("tran_ptn_tnl_id <", value, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdLessThanOrEqualTo(Long value) {
            addCriterion("tran_ptn_tnl_id <=", value, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdIn(List<Long> values) {
            addCriterion("tran_ptn_tnl_id in", values, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdNotIn(List<Long> values) {
            addCriterion("tran_ptn_tnl_id not in", values, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdBetween(Long value1, Long value2) {
            addCriterion("tran_ptn_tnl_id between", value1, value2, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andTranPtnTnlIdNotBetween(Long value1, Long value2) {
            addCriterion("tran_ptn_tnl_id not between", value1, value2, "tranPtnTnlId");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}